package jtk.project4.fleet.event;

import java.util.List;

import jtk.project4.fleet.domain.AddPayment;
import jtk.project4.fleet.event.AddPaymentEvent.AddPaymentEventType;
import nl.coderight.jazz.Event;

public class AddPaymentEvent extends Event<AddPaymentEventType>{
private List<AddPayment> addPayment;
	
	public enum AddPaymentEventType{
		LOAD_SUCCESS,
		FILTER, ADD, EDIT, DELETE, SUBMIT, CANCEL, SELECT, CHANGE;
	}

	public AddPaymentEvent(AddPaymentEventType type) {
		super(type);
	}
	
	public List<AddPayment> getAddPayment(){
		return addPayment;
	}
	
	public void setAddPayment(List<AddPayment> addPayment){
		this.addPayment =addPayment;
	}

}
